package com.qingfeng.client.dao;
import java.util.List;
import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qingfeng.client.bean.ShippingAddress;

/**
 * @author zhangyuefei
 * @version 1.0
 * @date 2020/1/6 10:16 上午
 */
public interface ShippingAddressMapper extends BaseMapper<ShippingAddress> {
    int deleteByBuyerIdAndId(@Param("buyerId")Long buyerId,@Param("ids")String ids);

    List<ShippingAddress> selectByBuyerId(@Param("buyerId")Long buyerId);

    int updateTypeByBuyerId(@Param("updatedType")Integer updatedType,@Param("buyerId")Long buyerId);



}
